문자열 복사 문자열 복사 #include <stdio.h> void copy_1(char a[],char b[]); void copy_2(char *a,char *b); int main() { char str1[20]="I Love China!";// char str2[20]; copy_1(str1,str2);// copy_1 printf("str2 is: %s ",str2); c... cString문자열 복사
문자열 복사 #include <stdio.h> void copy_1(char a[],char b[]); void copy_2(char *a,char *b); int main() { char str1[20]="I Love China!";// char str2[20]; copy_1(str1,str2);// copy_1 printf("str2 is: %s ",str2); c... cString문자열 복사